import React, {useState} from "react";
import { ChromePicker } from "react-color";
import CommonFlex from "../CommonFlex/index";

import "./index.less";

type Color  = {
    label: string; // 标题文本
    type: string;
    value: string;
}
interface Props {
    color: Color;
    onChange: (value: number) => void
};

const CardBoxRow = (props: any) => {
    return (
        <div className="card-box-row">
            <div className="card-box-row-left">{props.children[0]}</div>
            <div className="card-box-row-right">{props.children[1]}</div>
        </div>
    );
};
export default CardBoxRow;